package com.zzt.questionbankusermanager.repository;

import com.zzt.questionbankusermanager.bean.User;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UserRepository extends PagingAndSortingRepository<User,Integer>, JpaSpecificationExecutor<User> {
    public User findByUsername(String username);
}
